/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ipercube.model;

/**
 *
 * @author tartur
 */
public abstract class AbstractAxisValue implements AxisValue {

    private Object[] value;

    public AbstractAxisValue(Object... value) {
        this.value = value;
    }

    public Object[] getValue() {
        return value;
    }

    public Object getValueByLevel(int level) {
        return value[level];
    }

    public int getLevel() {
        return value.length - 1;
    }
}
